package dao;

import org.hibernate.Session;
import org.hibernate.Transaction;

import bean.MovimientoStockBean;

import hbt.HibernateDAO;

public class MovimientoStockDao {
	
	public void altaMovimientoStock(MovimientoStockBean MS)
	{
		Session s = HibernateDAO.getInstancia().getSession();
		Transaction t = s.beginTransaction();
		s.save(MS);
		t.commit();
	}

}
